package org.swidgets.base;


/**
 * 
 * Internal class
 *
 */
public final class BorderStyleRepository {

	public static BorderStyle simplePanel = new BorderStyle(){{
		this.setBottom("PanelBottomBorder");
		this.setTop("PanelTopBorder");
		this.setLeft("PanelLeftBorder");
		this.setRight("PanelRightBorder");
		
		this.setUrlImgTopLeft(ImagesRepository.BorderElements.SimplePanel.TOP_LEFT);
		this.setUrlImgTopRight(ImagesRepository.BorderElements.SimplePanel.TOP_RIGHT);
		this.setUrlImgBottomLeft(ImagesRepository.BorderElements.SimplePanel.BOTTOM_LEFT);
		this.setUrlImgBottomRight(ImagesRepository.BorderElements.SimplePanel.BOTTOM_RIGHT);

		this.setContent("PanelContent");
	}};

	public static BorderStyle titledPanel = new BorderStyle(){{
		this.setBottom("PanelBottomBorder");
		this.setTop("TitledPanelTopBorder");
		this.setLeft("PanelLeftBorder");
		this.setRight("PanelRightBorder");
		
		this.setUrlImgTopLeft(ImagesRepository.BorderElements.TitledPanel.TOP_LEFT);
		this.setUrlImgTopRight(ImagesRepository.BorderElements.TitledPanel.TOP_RIGHT);
		this.setUrlImgBottomLeft(ImagesRepository.BorderElements.TitledPanel.BOTTOM_LEFT);
		this.setUrlImgBottomRight(ImagesRepository.BorderElements.TitledPanel.BOTTOM_RIGHT);

		this.setContent("PanelContent");
	}};

	public static BorderStyle dialog = new BorderStyle(){{

		this.setBottom("DialogBottomBorder");
		this.setTop("DialogTopBorder");
		this.setLeft("DialogLeftBorder");
		this.setRight("DialogRightBorder");
		
		this.setUrlImgTopLeft(ImagesRepository.BorderElements.Dialog.TOP_LEFT);
		this.setUrlImgTopRight(ImagesRepository.BorderElements.Dialog.TOP_RIGHT);
		this.setUrlImgBottomLeft(ImagesRepository.BorderElements.Dialog.BOTTOM_LEFT);
		this.setUrlImgBottomRight(ImagesRepository.BorderElements.Dialog.BOTTOM_RIGHT);

		this.setContent("PanelContent");
	}};


	public static BorderStyle button = new BorderStyle(){{

		this.setTop("ButtonTopBorder");
		this.setBottom("ButtonBottomBorder");
		this.setLeft("ButtonLeftBorder");
		this.setRight("ButtonRightBorder");
		this.setContent("ButtonContent");
		
		this.setUrlImgTopLeft(ImagesRepository.BorderElements.button.TOP_LEFT);
		this.setUrlImgTopRight(ImagesRepository.BorderElements.button.TOP_RIGHT);
		this.setUrlImgBottomLeft(ImagesRepository.BorderElements.button.BOTTOM_LEFT);
		this.setUrlImgBottomRight(ImagesRepository.BorderElements.button.BOTTOM_RIGHT);
	}};


	public static BorderStyle buttonOver = new BorderStyle(){{

		this.setTop("ButtonTopBorderClicked");
		this.setBottom("ButtonBottomBorderClicked");
		this.setLeft("ButtonLeftBorderClicked");
		this.setRight("ButtonRightBorderClicked");
		this.setContent("ButtonContent");
		
		this.setUrlImgTopLeft(ImagesRepository.BorderElements.buttonClicked.TOP_LEFT);
		this.setUrlImgTopRight(ImagesRepository.BorderElements.buttonClicked.TOP_RIGHT);
		this.setUrlImgBottomLeft(ImagesRepository.BorderElements.buttonClicked.BOTTOM_LEFT);
		this.setUrlImgBottomRight(ImagesRepository.BorderElements.buttonClicked.BOTTOM_RIGHT);
	}};
	

	public static BorderStyle buttonClicked = new BorderStyle(){{

		this.setTop("ButtonTopBorderClicked");
		this.setBottom("ButtonBottomBorderClicked");
		this.setLeft("ButtonLeftBorderClicked");
		this.setRight("ButtonRightBorderClicked");
		this.setContent("ButtonContentClicked");
		
		this.setUrlImgTopLeft(ImagesRepository.BorderElements.buttonClicked.TOP_LEFT);
		this.setUrlImgTopRight(ImagesRepository.BorderElements.buttonClicked.TOP_RIGHT);
		this.setUrlImgBottomLeft(ImagesRepository.BorderElements.buttonClicked.BOTTOM_LEFT);
		this.setUrlImgBottomRight(ImagesRepository.BorderElements.buttonClicked.BOTTOM_RIGHT);

	}};
	
	public static BorderStyle toolTip = new BorderStyle(){{
		
		this.setBottom("ToolTipBottomBorder");
		this.setTop("ToolTipTopBorder");
		this.setLeft("ToolTipLeftBorder");
		this.setRight("ToolTipRightBorder");
		
		
		this.setContent("ToolTipContent");
		
		this.setUrlImgTopLeft(ImagesRepository.BorderElements.ToolTip.TOP_LEFT);
		this.setUrlImgTopRight(ImagesRepository.BorderElements.ToolTip.TOP_RIGHT);
		this.setUrlImgBottomLeft(ImagesRepository.BorderElements.ToolTip.BOTTOM_LEFT);
		this.setUrlImgBottomRight(ImagesRepository.BorderElements.ToolTip.BOTTOM_RIGHT);

		
	}};
	
	
	public static BorderStyle dialogTrasp = new BorderStyle(){{

		this.setBottom("DialogBottomBorder");
		this.setTop("DialogTopBorder");
		this.setLeft("DialogLeftBorder");
		this.setRight("DialogRightBorder");		
		this.setUrlImgTopLeft(ImagesRepository.BorderElements.Dialog.TOP_LEFT);
		this.setUrlImgTopRight(ImagesRepository.BorderElements.Dialog.TOP_RIGHT);
		this.setUrlImgBottomLeft(ImagesRepository.BorderElements.Dialog.BOTTOM_LEFT);
		this.setUrlImgBottomRight(ImagesRepository.BorderElements.Dialog.BOTTOM_RIGHT);
		this.setContent("DialogContent");		
		this.setFooter("DialogContent");
		this.setMain("Transparent90");
		
	}};
	public static BorderStyle tabSelected = new BorderStyle(){{

		this.setBottom("TabSelectedBottomBorder");
		this.setTop("TabSelectedTopBorder");
		this.setLeft("TabSelectedLeftBorder");
		this.setRight("TabSelectedRightBorder");		
		this.setUrlImgTopLeft(ImagesRepository.BorderElements.TabSelected.TOP_LEFT);
		this.setUrlImgTopRight(ImagesRepository.BorderElements.TabSelected.TOP_RIGHT);
		this.setUrlImgBottomLeft(ImagesRepository.BorderElements.TabSelected.BOTTOM_LEFT);
		this.setUrlImgBottomRight(ImagesRepository.BorderElements.TabSelected.BOTTOM_RIGHT);
		this.setContent("TabSelectedContent");		
	}};

	public static BorderStyle 	tabNotSelected = new BorderStyle(){{

		this.setBottom("TabNotSelectedBottomBorder");
		this.setTop("TabNotSelectedTopBorder");
		this.setLeft("TabNotSelectedLeftBorder");
		this.setRight("TabNotSelectedRightBorder");		
		this.setUrlImgTopLeft(ImagesRepository.BorderElements.TabNotSelected.TOP_LEFT);
		this.setUrlImgTopRight(ImagesRepository.BorderElements.TabNotSelected.TOP_RIGHT);
		this.setUrlImgBottomLeft(ImagesRepository.BorderElements.TabNotSelected.BOTTOM_LEFT);
		this.setUrlImgBottomRight(ImagesRepository.BorderElements.TabNotSelected.BOTTOM_RIGHT);
		this.setContent("TabNotSelectedContent");		
	}};
	


	public static BorderStyle framePanel = new BorderStyle(){{

		this.setBottom("FormPanelBottomBorder");
		this.setTop("FormPanelTopBorder");
		this.setLeft("FormPanelLeftBorder");
		this.setRight("FormPanelRightBorder");		
		this.setUrlImgTopLeft(ImagesRepository.BorderElements.FormPanel.TOP_LEFT);
		this.setUrlImgTopRight(ImagesRepository.BorderElements.FormPanel.TOP_RIGHT);
		this.setUrlImgBottomLeft(ImagesRepository.BorderElements.FormPanel.BOTTOM_LEFT);
		this.setUrlImgBottomRight(ImagesRepository.BorderElements.FormPanel.BOTTOM_RIGHT);
		this.setContent("FormPanelContent");		
	}};
	
	
	
	
	public static String textBox="TextBox";
}
